#/bin/bash
cur_path=$(cd `dirname $0`;pwd) 
component=$1
version=`cat ${cur_path}/version.txt`
project=`cat ${cur_path}/project.txt`
if [ "$component" == "" ]; then
  echo "$0 componentname"
  echo "ex: $0 ui"
  exit;
fi
docker-compose -f ./${project}-docker/docker-compose.yml up -d ${project}-${component}
